﻿using CefSharp;
using CefSharp.Handler;

using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;

namespace Edu.ZJ
{
    public class MyRequestHandler : RequestHandler
    {
        protected override bool OnBeforeBrowse(IWebBrowser chromiumWebBrowser, IBrowser browser, IFrame frame, IRequest request, bool userGesture, bool isRedirect)
        {
            Console.WriteLine("[OnBeforeBrowse]:" + request.Url);
            return false;
        }
    }
}
